<form>
  <h2 mat-dialog-title>成员邀请</h2>
  <div mat-dialog-content>

    <mat-form-field class="full-width">
      <input matInput placeholder="请选择成员" value="" [matAutocomplete]="autoMembers">
    </mat-form-field>
  </div>
  <div mat-dialog-actions>
    <button type="button" mat-raised-button color="primary" >确认</button>
    <button type="button" mat-raised-button color="accent" mat-dialog-close  >取消</button>
  </div>
</form>
<mat-autocomplete #autoMembers="matAutocomplete" [displayWith]="displayValue">
  <mat-option *ngFor="let item of items" [value]="item">
    {{ item.name }}
  </mat-option>
</mat-autocomplete>
